package com.asl.website.advantage.service;

import java.util.List;
import com.asl.website.advantage.domain.SysAdvantage;

/**
 * 优势Service接口
 * 
 * @author ruoyi
 * @date 2025-05-22
 */
public interface ISysAdvantageService 
{
    /**
     * 查询优势
     * 
     * @param advantageId 优势主键
     * @return 优势
     */
    public SysAdvantage selectSysAdvantageByAdvantageId(Long advantageId);

    /**
     * 查询优势列表
     * 
     * @param sysAdvantage 优势
     * @return 优势集合
     */
    public List<SysAdvantage> selectSysAdvantageList(SysAdvantage sysAdvantage);

    /**
     * 新增优势
     * 
     * @param sysAdvantage 优势
     * @return 结果
     */
    public int insertSysAdvantage(SysAdvantage sysAdvantage);

    /**
     * 修改优势
     * 
     * @param sysAdvantage 优势
     * @return 结果
     */
    public int updateSysAdvantage(SysAdvantage sysAdvantage);

    /**
     * 批量删除优势
     * 
     * @param advantageIds 需要删除的优势主键集合
     * @return 结果
     */
    public int deleteSysAdvantageByAdvantageIds(Long[] advantageIds);

    /**
     * 删除优势信息
     * 
     * @param advantageId 优势主键
     * @return 结果
     */
    public int deleteSysAdvantageByAdvantageId(Long advantageId);
}
